#region head comment
/*
Code generate by YhdSdkTool.
email:starpeng@vip.qq.com
2013-01-21 23:00:56:945 +08:00
*/
#endregion

using System;
using System.Xml.Serialization;
using System.Collections.Generic;

namespace YhdSdk.Domain.Product
{
    /// <summary>
    /// 产品库存
    /// </summary>
    [Serializable]
    public class PmStock : YhdObject
    {
        /// <summary>
        /// 产品ID
        /// </summary>
        [XmlElement("productId")]
        public Nullable<Int64> ProductId
        {
            get;
            set;
        }

        /// <summary>
        /// 外部产品ID
        /// </summary>
        [XmlElement("outerId")]
        public String OuterId
        {
            get;
            set;
        }

        /// <summary>
        /// 是否支持虚拟库存(1：是、0：否)
        /// </summary>
        [XmlElement("isSupportVS")]
        public Nullable<Int32> IsSupportVS
        {
            get;
            set;
        }

        /// <summary>
        /// 实际库存
        /// </summary>
        [XmlElement("ts")]
        public Nullable<Int32> Ts
        {
            get;
            set;
        }

        /// <summary>
        /// 实际冻结库存
        /// </summary>
        [XmlElement("tsf")]
        public Nullable<Int32> Tsf
        {
            get;
            set;
        }

        /// <summary>
        /// 虚拟库存
        /// </summary>
        [XmlElement("vs")]
        public Nullable<Int32> Vs
        {
            get;
            set;
        }

        /// <summary>
        /// 虚拟冻结库存(下单冻结,发货释放)
        /// </summary>
        [XmlElement("vsf")]
        public Nullable<Int32> Vsf
        {
            get;
            set;
        }

        /// <summary>
        /// 仓库ID
        /// </summary>
        [XmlElement("warehouseId")]
        public Nullable<Int64> WarehouseId
        {
            get;
            set;
        }

        /// <summary>
        /// 仓库名称
        /// </summary>
        [XmlElement("warehouseName")]
        public String WarehouseName
        {
            get;
            set;
        }

    }
}
